<!--
 * @Author: wu07 1732042133@qq.com
 * @Date: 2023-01-14 19:10:22
 * @LastEditors: wu07 1732042133@qq.com
 * @LastEditTime: 2023-01-31 09:47:20
 * @FilePath: \recruitAPP\recruitApp\recruitApp\src\pages\user\main.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!-- 视图层 -->
<template>
  <router-view />
  <van-tabbar route v-model="active">
    <van-tabbar-item
      v-for="(item, index) in arr"
      :key="index"
      replace
      :to="item.path"
      :icon="item.icon"
      >{{ item.name }}</van-tabbar-item
    >
  </van-tabbar>
</template>
  <!-- 逻辑层 -->
  <script setup>
import { ref } from "vue";
const arr = ref([
  { name: "人才", icon: "manager-o", path: "/personnel" },
  { name: "招聘", icon: "apps-o", path: "/recruit" },
  { name: "求职申请", icon: "envelop-o", path: "/apply" },
  { name: "我的", icon: "user-circle-o", path: "/ME/Me2" },
]);
</script>
  <!-- 样式层 -->
  <style scoped>
</style>